/**  
* @author renbangjie renbangjie@126.com  
* @date 2014-10-15 下午5:24:39
* @version V1.0  
* <b>Copyright (c)</b> 2014医信金融信息服务（上海）有限公司-版权所有<br/>
*/
package com.yjd.comm.login.dto;

import com.yjd.comm.user.model.UserModel;
import com.yjd.comm.util.DateUtil;

/**
 * @author renbangjie renbangjie@126.com
 * @date 2014-10-15 下午5:24:39
 */
public class UserLoginDto extends UserModel {

	/**
	* @Fields serialVersionUID : TODO
	*/
	private static final long serialVersionUID = 1L;
	/**
	 * openid
	 */
	private String qq;
	/**
	 * QQ昵称
	 */
	private String qqname;
	/**
	 * openid
	 */
	private String sina;
	/**
	 * 新浪昵称
	 */
	private String sinaname;
	/**
	 * 微信openid
	 */
	private String weixin;
	/**
	 * 微信昵称
	 */
	private String weixinname;
	private Long uptime;
	private String uptimeformmat;
	
	public String getQqname() {
		return qqname;
	}
	public void setQqname(String qqname) {
		this.qqname = qqname;
	}
	public String getSinaname() {
		return sinaname;
	}
	public void setSinaname(String sinaname) {
		this.sinaname = sinaname;
	}
	public String getWeixin() {
		return weixin;
	}
	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}
	public String getWeixinname() {
		return weixinname;
	}
	public void setWeixinname(String weixinname) {
		this.weixinname = weixinname;
	}
	public Long getUptime() {
		return uptime;
	}
	public void setUptime(Long uptime) {
		this.uptime = uptime;
	}
	public String getUptimeformmat() {
		if(uptime!=null){
			return DateUtil.timestampToDateString(uptime);
		}
		return uptimeformmat;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getSina() {
		return sina;
	}
	public void setSina(String sina) {
		this.sina = sina;
	}
	public void setUptimeformmat(String uptimeformmat) {
		this.uptimeformmat = uptimeformmat;
	}
	
}
